import React from 'react';
import { Layout, Row } from 'antd';
import { GlobalFooter } from 'ant-design-pro';
import { useCheckLoginStatus } from '@/hooks';
import logo from '@/assets/logo-work.png';

const { Footer } = Layout;

const FooterView = () => {
    useCheckLoginStatus();
    return (
        <Footer style={{ padding: 0 }}>
            <GlobalFooter
                copyright={
                    <Row type="flex" justify="center" align="middle">
                        <img style={{ height: 22, marginRight: 6 }} src={logo} alt="微微工作研发中心出品" />
                        微微工作研发中心出品
                    </Row>
                }
            />
        </Footer>
    );
};

export default FooterView;
